/*
 * @Author: 华芊芊 huaqianqian@yeah.net
 * @Date: 2023-10-26 15:52:45
 * @LastEditors: 华芊芊 huaqianqian@yeah.net
 * @LastEditTime: 2023-11-09 14:12:17
 * @FilePath: \zmglpt-ui-screen\src\main.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */

import Vue from 'vue';
import App from './App.vue';
import router from './router';
import store from './store';
import dataV from '@jiaminghi/data-view';
//动态添加meita标签插件
import Meta from "vue-meta";
import tool from "./utils/tool";
Vue.use(tool);
Vue.use(Meta);
import 'echarts-gl' // 3d图表库import * as echarts from 'echarts'
// 引入全局css
import './assets/scss/style.scss';
// 按需引入vue-awesome图标
import Icon from 'vue-awesome/components/Icon';
import 'vue-awesome/icons/chart-bar.js';
import 'vue-awesome/icons/chart-area.js';
import 'vue-awesome/icons/chart-pie.js';
import 'vue-awesome/icons/chart-line.js';
import 'vue-awesome/icons/align-left.js';

import CountTo from 'vue-count-to'
import mytooltip from './components/tooltip.vue'


//引入echart
//4.x 引用方式
// import echarts from 'echarts'
// import 'echarts-gl'
//5.x 引用方式为按需引用
//希望使用5.x版本的话,需要在package.json中更新版本号,并切换引用方式
import * as echarts from 'echarts'
import 'echarts-gl'
import 'echarts-liquidfill'

import scroll from 'vue-seamless-scroll'


Vue.prototype.$echarts = echarts
Vue.config.productionTip = false;


//引入
// 加载 element 组件库
import ElementUI from 'element-ui'

// // 加载 element 组件库的样式
import 'element-ui/lib/theme-chalk/index.css'

// // 全局注册 element 组件库
Vue.use(ElementUI)
Vue.use(scroll)
// 全局注册
Vue.component('icon', Icon);
Vue.component('CountTo', CountTo);
Vue.component('my-tooltip',mytooltip);
Vue.use(dataV);

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount('#app');
